package com.bwie.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "oss")
@Data
public class OssConfig {

    /**
     * Endpoint 存储对象概述  阿里云主账号AccessKey，accessKeySecret拥有所有API的访问权限  访问路径前缀  存储对象概述!userName.matches("^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d]+$")
     */
    private String endPoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String accessPre;
    /**
     * bucket名称
     *
     * @return
     */
    private String bucketName;

}
